package com.ims.repository;

import com.ims.entity.StudentLoanEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface StudentLoanRepository extends JpaRepository<StudentLoanEntity,Long>{

    @Query("select distinct time from StudentLoanEntity" )
    List<String> getOptionsForTime();

    @Query("select distinct stu_source from StudentLoanEntity")
    List<String> getOptionsForRemark();
}